package com.zhf.cloud.gateway.springcloudgateway.model.user;

import com.zhf.cloud.gateway.springcloudgateway.model.user.constants.CredentialType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: 曾鸿发
 * @create: 2021-11-22 12:01
 * @description：用户账号类型
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserCredential implements Serializable {

    private static final long serialVersionUID = -958701617717204974L;

    private String username;
    /**
     * @see CredentialType
     */
    private String type;
    private Long userId;

}
